DomainObjects Class Library

InsertByQuery<InsertIntoClass,SelectFromClass>.AddInsertField Method (ColumnField, Field)

Specify a field whose value will be inserted by this command.

public void AddInsertField(
   ColumnField fieldToInsert,
   Field fieldToSelect
);

Parameters

fieldToInsert
A field that will be inserted by this command.
fieldToSelect
The field whose value will be SELECTed from and then inserted into the field specified by fieldToInsert. If null is passed, then NULL will be assigned to the fieldToInsert.

See Also

InsertByQuery<InsertIntoClass,SelectFromClass> Class | DomainObjects.Facade.Command Namespace | InsertByQuery<InsertIntoClass,SelectFromClass>.AddInsertField Overload List